package com.blb.zycommunity.mapper;

import com.blb.zycommunity.entity.SysDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;



/**
 * <p>
 * 部门表 Mapper 接口
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
@Mapper
public interface SysDeptMapper extends BaseMapper<SysDept> {

    List<SysDept> selectDeptWithChildren();

//     查询所有
    List<SysDept> selectAll();

    //模糊查询
    List<SysDept> selectByName(String deptName,Long status);

}
